#pragma once
#include <iostream>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include<sys/wait.h>
#include <string>
#include <cstring>
#include"Log.hpp"
#include"InetAddr.hpp"
static int gSOCKFD_DEFAULT  = -1;
static int gblock = 5;
static uint16_t gPORT = 8888;
enum
{
    SOCKED_ERROR = 1,
    BIND_ERROR,
    LISTEN_ERROR
};
